runtime.spanSPMC.cap (field)
8 uses
runtime (current package)
mgcmark_greenteagc.go#L496: newCap := q.chain.head.cap * 2
mgcmark_greenteagc.go#L518: if rn+n <= r.cap {
mgcmark_greenteagc.go#L601: if n > r.cap { // read inconsistent h and t
mgcmark_greenteagc.go#L700: cap uint32 // cap(ring))
mgcmark_greenteagc.go#L723: r.cap = cap
mgcmark_greenteagc.go#L740: sysFree(unsafe.Pointer(r.ring), uintptr(r.cap)*unsafe.Sizeof(objptr(0)), &memstats.gcMiscSys)
mgcmark_greenteagc.go#L746: r.cap = 0
mgcmark_greenteagc.go#L752: idx := uintptr(i & (r.cap - 1))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |